package work01;

public class Rectangle extends Shapes{
    double width;
    double height;
    void area(double width,double height){
        System.out.println("周长"+2*(width+height));
    }
    void c( double width,double height){
        System.out.println("面积"+(width*height));
    }
}
